package com.hqyj.ssm_project.service;

import com.hqyj.ssm_project.pojo.AttendanceDate;
import com.hqyj.ssm_project.pojo.AttendanceStatis;

import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface AttendanceService {
    void insertDateAndTime(Date date, Integer userId) throws ParseException;

    List<AttendanceDate> selectAllUserAttendanceByDay(String date);

    List<AttendanceDate> findUserAttendanceByUserId(Map<String, Object> map);

    AttendanceStatis selectUserAttendanceStatis(Map<String, Object> mapToMapper);
}
